load("@generate_export_header//:defs.bzl", "generate_export_header")
load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
    name = "console_bridge",
    hdrs = [
        "include/console_bridge/console.h",
        ":console_bridge_export_h",
    ],
    srcs = ["src/console.cpp"],
    includes = ["include"],
    visibility = ["//visibility:public"],
)

generate_export_header(
    name = "console_bridge_export_h",
    library = "CONSOLE_BRIDGE",
    header = "console_bridge_export.h",
)
